#ifndef RUNDLG_H
#define RUNDLG_H

#include <QDialog>

class ShortCutVec;
class QLineEdit;
class QTableWidget;
class QTimer;

class RunDlg : public QDialog
{
    Q_OBJECT

public:
    explicit RunDlg(QWidget *parent = 0);

private:
    QLineEdit       *lineEdit;
    QTableWidget    *tableWidget;
    ShortCutVec     *shortCuts;
    QTimer          *timer;
    int             count;
public slots:
    void show();

protected slots:
    void commandUpdate(QString str);
    void commandSelect(int key);

protected:
    void resetTimer();
};

#endif // RUNDLG_H
